#include <stdio.h>
#include <string.h>
int main(int argc, char *argv[]) {

    int n = 0;
    scanf("%d", &n);
    getchar();
    char s[1024];

    while (n--){
        gets(s);
        puts(s);
        printf("\n");
    }

    while (scanf("%s",s)!=EOF)
    {
        printf("%s", s);
        printf("\n\n");
    }

    return 0;
}